package com.woniu.dao;

import com.woniu.pojo.BackServer;
import org.apache.ibatis.annotations.Insert;

import java.util.Date;

public interface BackServerMapper {
    int deleteByPrimaryKey(Long id);

    int insert(BackServer record);

    int insertSelective(BackServer record);

    BackServer selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(BackServer record);

    int updateByPrimaryKey(BackServer record);
    @Insert("insert into back_server (user_id,sub_id,reason,back_time) value(#{uid},#{sid},#{mes},#{date})")
    int insertByid(Long uid, Long sid, String mes,String date);
}